package org.egrit;

/**
 * Implemented by classes wishing to be notified of changes to values
 * in a grid.
 * 
 * @author michael
 */
public interface IGridListener {

    /**
     * Called when any value in the associated grid changes. The bounds passed
     * to this method enclose the area of changed value but are not guaranteed
     * to be minimal.
     * 
     * @param bounds the bounds enclosing the area of changed value
     */
    void valueChanged(IGridBounds bounds);
    
}
